package online.longzipeng.cinemasys.vo.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lzp
 * @date 2021/4/28 16:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "系统用户查询对象",description = "请求参数类")
public class SysUserQueryVO {

    @ApiModelProperty(value = "页码",example = "1",required = false,dataType = "number")
    private Long page = 1l;

    @ApiModelProperty(value = "每页显示条数",example = "10",required = false,dataType = "number")
    private Long size = 10l;

    @ApiModelProperty(value = "id排序",example = "desc",required = false,dataType = "string")
    private String sort = "asc";

    @ApiModelProperty(value = "用户名",example = "lzp",required = false,dataType = "string")
    private String userName;

    @ApiModelProperty(value = "昵称",example = "lzp",required = false,dataType = "string")
    private String nick;

    @ApiModelProperty(value = "id排序",example = "desc",required = false,dataType = "string")
    private Integer status;

    @ApiModelProperty(value = "查询类型 false/并集 true/交集",example = "false",required = false)
    private Boolean searchType = true;

}
